package org.jeecg.modules.monitoring.j_monitoring.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.software.SoftwareModuleSetting;
import org.jeecg.modules.monitoring.j_monitoring.entity.software.SoftwareSetting;

import java.util.List;

/**
 * @Description: 软件设置
 * @Author: xiaoyq
 * @Date:   2023-10-12
 * @Version: V1.0
 */
public interface SoftwareModuleSettingMapper extends BaseMapper<SoftwareModuleSetting> {
    /**
     * 查询所有软件设置
     * @return
     */
    List<SoftwareSetting> selectAll();

    /**
     * 根据软件名称查询模块名列表
     * @param name
     * @return
     */
    List<SoftwareModuleSetting> softModule(@Param("name") String name);

}
